<?php


namespace app\modules\diandi_shop\controllers;

use  backend\controllers\BaseController;
use Yii;
use app\modules\diandi_shop\models\DdGoods;

/**
 * DefaultController
 *
 * @author Misbahul D Munir <misbahuldmunir@gmail.com>
 * @since 1.0
 */
class DefaultController extends BaseController
{
    
    public $layout = "@backend/views/layouts/plugins-base";
    /**
     * Action index
     */
    public function actionIndex()
    {
        $goods = DdGoods::findOne(['goods_id' => '10262']);

        return $this->render('index');
    }
}
